<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改订单操作历史记录')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-aftersalesOperateHistory-edit" th:object="${billAftersalesOperateHistory}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">订单id：</label>
                <div class="col-sm-8">
                    <input name="aftersalesId" th:field="*{aftersalesId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">操作人：用户；商户系统；后台管理员：</label>
                <div class="col-sm-8">
                    <input name="operateMan" th:field="*{operateMan}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">现在售后状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="aftersalesStatus" value="">
                        <label th:for="aftersalesStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-3 control-label">备注：</label>
                <div class="col-sm-8">
                    <textarea name="note" class="form-control">[[*{note}]]</textarea>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">所属店铺：</label>
                <div class="col-sm-8">
                    <input name="storeId" th:field="*{storeId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">原售后状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="preStatus" value="">
                        <label th:for="preStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">原退款状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="preRefundStatus" value="">
                        <label th:for="preRefundStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">现在退款状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="nowRefundStatus" value="">
                        <label th:for="nowRefundStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">现在申请状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="nowApplyStatus" value="">
                        <label th:for="nowApplyStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">原申请状态：</label>
                <div class="col-sm-8">
                    <div class="radio-box">
                        <input type="radio" name="preApplyStatus" value="">
                        <label th:for="preApplyStatus" th:text="未知"></label>
                    </div>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">售后类型，1=只退款，2退货退款，3换货不退款：</label>
                <div class="col-sm-8">
                    <select name="type" class="form-control m-b">
                        <option value="">所有</option>
                    </select>
                    <span class="help-block m-b-none"><i class="fa fa-info-circle"></i> 代码生成请选择字典属性</span>
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "bill/aftersalesOperateHistory";
        $("#form-aftersalesOperateHistory-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-aftersalesOperateHistory-edit').serialize());
            }
        }
    </script>
</body>
</html>